<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1><b><a href="#" style="color: red" >欢迎来到添加界面</a></b></h1>

<form action="" method="post">
    {% csrf_token %}
    标题:<input type="text" name="title">
    <br>
    内容:<textarea name="content" id="content" cols="30" rows="10"></textarea>
    <br>
    发布日期:<input type="datetime-local" name="publish_time">
    <br>
    修改时间:<input type="datetime-local" name="update_time">
    <br>
    作者:<select name="author_id" id="author_id">
    {% for i in authors %}
        <option value="{{ i.id }}">{{ i.name }}</option>{% endfor %}
</select>
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>